<template>
  <div>
      <!-- <one></one>
      <two></two> -->
      <!-- 普通插槽 -->
      <!-- <one>
          <p>我是home的neir</p>
      </one> -->
      <!-- 具名要加template属性 -->
       <!-- <one>
         <template slot='muban'>
            <slot></slot>
         </template>
     </one> -->
     <one>
         <template slot-scope='scope'>
             <p>{{scope.data}}</p>
         </template>
     </one>
  </div>
</template>
           
<script>
import one from "@/test/one.vue";
import two from "@/test/two.vue";
export default {
  components: {
    one,
    two
  }
};
</script>
<style lang="less" scoped>
</style>